import request from "../api/request"
import { GETIMGS,GETLIST,GETLISTACTIONTYPE,ADDSHOPCAR,GETOBJ } from "../types/store.d"
import {DETAILTYPE} from "../types/val.d"
export const get_list = (params:GETLISTACTIONTYPE) => {
   return{
    type: GETLIST,
    payload: params
  }
    
}

export const get_obj = (params:string) => {
    return{
     type: GETOBJ,
     payload: params
   }
     
 }

 export const add_Shopcar = (params:DETAILTYPE) => {
    return{
     type: ADDSHOPCAR,
     payload: params
   }
     
 }

